package cn.wolfcode.business.service;

import cn.wolfcode.business.domain.BusAppointment;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AppointmentService {
    List<BusAppointment> selectAppointmentList(BusAppointment appointment);

    BusAppointment selectAppointmentById(Long id);

    int save(BusAppointment appointment);

    int update(BusAppointment appointment);

    int deleteAppointmentByIds(Long[] ids);

    int arrival(Long id);

    int cancel(Long id);

    void updateStatus(Long appointmentId, Integer statusPaid);

}
